package com.augus.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;

@MapperScan("com.augus.admin.mapper") // 扫描全部 mapper
@ServletComponentScan(basePackages = "com.augus.admin")
// exclude = RedisAutoConfiguration.class 禁用Redis所有自动配置
@SpringBootApplication(exclude = RedisAutoConfiguration.class)
public class Boot05WebAdminApplication {

  public static void main(String[] args) {
    SpringApplication.run(Boot05WebAdminApplication.class, args);
  }


}
